package com.zhx.IOC;

/**
 * 剧本
 **/
public class MoAttack {
    private GeLi geLi;

    public MoAttack() {
    }

    //构造器注入隔离的具体饰演者
    public MoAttack(GeLi geLi){
        this.geLi=geLi;
    }

    //属性注入
    public void setGeLi(GeLi geLi) {
        this.geLi = geLi;
    }

    //剧本中的城门叩问场景
    public void cityGateAsk(){
        geLi.responseAsk("墨者隔离");
    }
}
